package com.gzxw.mogublog.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients("com.gzxw.mogublog.commons.feign")
@ComponentScan(basePackages = {
        "com.gzxw.mogublog.utils",
        "com.gzxw.mogublog.web",
        "com.gzxw.mogublog.xo",
        "com.gzxw.mogublog.commons"})
public class WebApplication {
    public static void main(String[] args) {

        // http://demoweb.moguit.cn/#/
        SpringApplication.run(WebApplication.class,args);

    }
}
